package com.tc.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.tc.bean.OBJECT_T_MALL_ATTR;
import com.tc.bean.T_MALL_VALUE;

public interface AttrMapper {

	/**
	 * 插入二级分类id 属性名值对象
	 * @param class_2_id
	 * @param attr
	 */
	void insert_attr(@Param("flbh2") int flbh2, @Param("attr")
	OBJECT_T_MALL_ATTR attr);

	void insert_values(@Param("attr_id") int attr_id, @Param("list_value")
	List<T_MALL_VALUE> list_value);

	List<OBJECT_T_MALL_ATTR> select_attr_list(int flbh2);

}
